home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / libg_261.zip / libg_261 / Makefile.in < prev    next >
Makefile  |  1994-10-24  |  31KB  |  1,114 lines

  1. #
  2. # Makefile for directory with subdirs to build.
  3. #   Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16. #
  17.  
  18. srcdir = .
  19.  
  20. prefix = /usr/local
  21.  
  22. exec_prefix = $(prefix)
  23. bindir = $(exec_prefix)/bin
  24. libdir = $(exec_prefix)/lib
  25. tooldir = $(exec_prefix)/$(target)
  26.  
  27. program_transform_name =
  28.  
  29. datadir = $(prefix)/lib
  30. mandir = $(prefix)/man
  31. man1dir = $(mandir)/man1
  32. man2dir = $(mandir)/man2
  33. man3dir = $(mandir)/man3
  34. man4dir = $(mandir)/man4
  35. man5dir = $(mandir)/man5
  36. man6dir = $(mandir)/man6
  37. man7dir = $(mandir)/man7
  38. man8dir = $(mandir)/man8
  39. man9dir = $(mandir)/man9
  40. infodir = $(prefix)/info
  41. includedir = $(prefix)/include
  42. docdir = $(datadir)/doc
  43.  
  44. SHELL = /bin/sh
  45.  
  46. INSTALL = $${srcroot}/install.sh -c
  47. INSTALL_PROGRAM = $(INSTALL)
  48. INSTALL_DATA = $(INSTALL) -m 644
  49. INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
  50.  
  51. INSTALL_DOSREL = install-dosrel-fake
  52.  
  53. AS = as
  54. AR = ar
  55. AR_FLAGS = rc
  56. CC = cc
  57.  
  58. # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
  59. # here so that they can be overridden by Makefile fragments.
  60. HOST_CC = $(CC_FOR_BUILD)
  61. HOST_PREFIX = 
  62. HOST_PREFIX_1 = loser-
  63.  
  64. # We don't specify -g -O because many compilers don't support -g -O,
  65. # and/or -O is broken in and of itself.
  66. CFLAGS = -g
  67.  
  68. CXX = gcc
  69.  
  70. # Use -O2 to stress test the compiler.
  71. CXXFLAGS = -g -O2 -fno-implicit-templates
  72.  
  73. RANLIB = ranlib
  74. NM = nm
  75. # Not plain GZIP, since gzip looks there for extra command-line options.
  76. GZIPPROG = gzip
  77.  
  78. BISON = bison -y
  79. LEX = `if [ -f $$r/flex/flex ] ; \
  80.     then echo $$r/flex/flex ; \
  81.     else echo flex ; fi`
  82.  
  83. M4 = `if [ -f $$r/m4/m4 ] ; \
  84.     then echo $$r/m4/m4 ; \
  85.     else echo m4 ; fi`
  86.  
  87. MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
  88.     then echo $$r/texinfo/makeinfo/makeinfo ; \
  89.     else echo makeinfo ; fi`
  90.  
  91. # This just becomes part of the MAKEINFO definition passed down to
  92. # sub-makes.  It lets flags be given on the command line while still
  93. # using the makeinfo from the object tree.
  94. MAKEINFOFLAGS =
  95.  
  96. EXPECT = `if [ -f $$r/expect/expect ] ; \
  97.     then echo $$r/expect/expect ; \
  98.     else echo expect ; fi`
  99.  
  100. RUNTEST = `if [ -f $${srcroot}/dejagnu/runtest ] ; \
  101.     then echo $${srcroot}/dejagnu/runtest ; \
  102.     else echo runtest ; fi`
  103.  
  104.  
  105. # libraries that may need to be augmented on a system-by-system basis
  106. X11_LIB = -lX11
  107.  
  108. # compilers to use to create programs which must be run in the build
  109. # environment.
  110. CC_FOR_BUILD = $(CC)
  111. CXX_FOR_BUILD = $(CXX)
  112.  
  113. SUBDIRS = "this is set via configure, don't edit this"
  114. OTHERS = 
  115.  
  116. ALL = all.normal
  117. INSTALL_TARGET = install-dirs \
  118.     $(INSTALL_MODULES) \
  119.     $(INSTALL_TARGET_MODULES) \
  120.     $(INSTALL_X11_MODULES) \
  121.     install-gcc \
  122.     $(INSTALL_DOSREL)
  123.  
  124.  
  125. CC_FOR_TARGET = ` \
  126.   if [ -f $$r/gcc/Makefile ] ; then \
  127.     if [ -f $$r/newlib/Makefile ] ; then \
  128.       echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/newlib/targ-include -idirafter $${srcroot}/newlib/libc/include -nostdinc; \
  129.     else \
  130.       echo $$r/gcc/xgcc -B$$r/gcc/; \
  131.     fi; \
  132.   else \
  133.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  134.       echo $(CC); \
  135.     else \
  136.       t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
  137.     fi; \
  138.   fi`
  139.  
  140.  
  141. CXX_FOR_TARGET = ` \
  142.   if [ -f $$r/gcc/Makefile ] ; then \
  143.     if [ -f $$r/newlib/Makefile ] ; then \
  144.       echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/newlib/targ-include -idirafter $${srcroot}/newlib/libc/include -nostdinc; \
  145.     else \
  146.       echo $$r/gcc/xgcc -B$$r/gcc/; \
  147.     fi; \
  148.   else \
  149.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  150.       echo $(CXX); \
  151.     else \
  152.       t='$(program_transform_name)'; echo gcc | sed -e 's/brokensed/brokensed/' $$t; \
  153.     fi; \
  154.   fi`
  155.  
  156. AS_FOR_TARGET = ` \
  157.   if [ -f $$r/gas/Makefile ] ; then \
  158.     echo $$r/gas/as.new ; \
  159.   else \
  160.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  161.       echo $(AS); \
  162.     else \
  163.        t='$(program_transform_name)'; echo as | sed -e 's/brokensed/brokensed/' $$t ; \
  164.     fi; \
  165.   fi`
  166.  
  167. AR_FOR_TARGET = ` \
  168.   if [ -f $$r/binutils/ar ] ; then \
  169.     echo $$r/binutils/ar ; \
  170.   else \
  171.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  172.       echo $(AR); \
  173.     else \
  174.        t='$(program_transform_name)'; echo ar | sed -e 's/brokensed/brokensed/' $$t ; \
  175.     fi; \
  176.   fi`
  177.  
  178. RANLIB_FOR_TARGET = ` \
  179.   if [ -f $$r/binutils/ranlib ] ; then \
  180.     echo $$r/binutils/ranlib ; \
  181.   else \
  182.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  183.       echo $(RANLIB); \
  184.     else \
  185.        t='$(program_transform_name)'; echo ranlib | sed -e 's/brokensed/brokensed/' $$t ; \
  186.     fi; \
  187.   fi`
  188.  
  189. NM_FOR_TARGET = ` \
  190.   if [ -f $$r/binutils/Makefile ] ; then \
  191.     echo $$r/binutils/nm.new ; \
  192.   else \
  193.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  194.       echo $(NM); \
  195.     else \
  196.        t='$(program_transform_name)'; echo nm | sed -e 's/brokensed/brokensed/' $$t ; \
  197.     fi; \
  198.   fi`
  199.  
  200.  
  201. #### host and target specific makefile fragments come in here.
  202. ###
  203.  
  204. # Flags to pass down to all sub-makes.
  205. # Please keep these in alphabetical order.
  206. BASE_FLAGS_TO_PASS = \
  207.     "AR_FLAGS=$(AR_FLAGS)" \
  208.     "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
  209.     "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
  210.     "BISON=$(BISON)" \
  211.     "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  212.     "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
  213.     "CFLAGS=$(CFLAGS)" \
  214.     "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
  215.     "CXXFLAGS=$(CXXFLAGS)" \
  216.     "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
  217.     "GCC_FOR_TARGET=$(CC_FOR_TARGET)" \
  218.     "INSTALL=$(INSTALL)" \
  219.     "INSTALL_DATA=$(INSTALL_DATA)" \
  220.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  221.     "INSTALL_XFORM=$(INSTALL_XFORM)" \
  222.     "LDFLAGS=$(LDFLAGS)" \
  223.     "LEX=$(LEX)" \
  224.     "M4=$(M4)" \
  225.     "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
  226.     "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
  227.     "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
  228.     "SHELL=$(SHELL)" \
  229.     "EXPECT=$(EXPECT)" \
  230.     "RUNTEST=$(RUNTEST)" \
  231.     "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  232.     "YACC=$(BISON)" \
  233.     "exec_prefix=$(exec_prefix)" \
  234.     "prefix=$(prefix)" \
  235.     "tooldir=$(tooldir)" 
  236.  
  237. # Flags to pass down to most sub-makes, in which we're building with
  238. # the host environment.
  239. # If any variables are added here, they must be added to do-*, below.
  240. EXTRA_HOST_FLAGS = \
  241.     'AR=$(AR)' \
  242.     'AS=$(AS)' \
  243.     'CC=$(CC)' \
  244.     'CXX=$(CXX)' \
  245.     'NM=$(NM)' \
  246.     'RANLIB=$(RANLIB)'
  247.  
  248. FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
  249.  
  250. # Flags that are concerned with the location of the X11 include files
  251. # and library files
  252. X11_FLAGS_TO_PASS = \
  253.     "X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \
  254.     "X11_LIB_FLAGS=$(X11_LIB_FLAGS)" \
  255.     "X11_LIB=$(X11_LIB)"
  256.  
  257. # Flags to pass down to makes which are built with the target environment.
  258. # The double $ decreases the length of the command line; the variables
  259. # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
  260. # If any variables are added here, they must be added to do-*, below.
  261. EXTRA_TARGET_FLAGS = \
  262.     'AR=$$(AR_FOR_TARGET)' \
  263.     'AS=$$(AS_FOR_TARGET)' \
  264.     'CC=$$(CC_FOR_TARGET)' \
  265.     'CXX=$$(CXX_FOR_TARGET)' \
  266.     'NM=$$(NM_FOR_TARGET)' \
  267.     'RANLIB=$$(RANLIB_FOR_TARGET)'
  268.  
  269. TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
  270.  
  271. # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
  272. # unfortunately needs the native compiler and the target ar and
  273. # ranlib.
  274. # If any variables are added here, they must be added to do-*, below.
  275. # The HOST_* variables are a special case, which are used for the gcc
  276. # cross-building scheme.
  277. EXTRA_GCC_FLAGS = \
  278.     'AR=$$(AR_FOR_TARGET)' \
  279.     'AS=$(AS)' \
  280.     'CC=$(CC)' \
  281.     'CXX=$(CXX)' \
  282.     'HOST_CC=$(CC_FOR_BUILD)' \
  283.     'HOST_PREFIX=$(HOST_PREFIX)' \
  284.     'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
  285.     'NM=$(NM)' \
  286.     'RANLIB=$$(RANLIB_FOR_TARGET)'
  287.  
  288. GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
  289.  
  290. # This is a list of the targets for all of the modules which are compiled
  291. # using $(FLAGS_TO_PASS).
  292. ALL_MODULES = \
  293.     all-autoconf \
  294.     all-bfd \
  295.     all-binutils \
  296.     all-byacc \
  297.     all-cvs \
  298.     all-dejagnu \
  299.     all-diff \
  300.     all-dosutils \
  301.     all-etc \
  302.     all-fileutils \
  303.     all-find \
  304.     all-flex \
  305.     all-gas \
  306.     all-gawk \
  307.     all-gdb \
  308.     all-gprof \
  309.     all-grep \
  310.     all-gzip \
  311.     all-hello \
  312.     all-indent \
  313.     all-ispell \
  314.     all-ld \
  315.     all-libiberty \
  316.     all-m4 \
  317.     all-make \
  318.     all-mmalloc \
  319.     all-opcodes \
  320.     all-pagas \
  321.     all-patch \
  322.     all-prms \
  323.     all-rcs \
  324.     all-readline \
  325.     all-release \
  326.     all-recode \
  327.     all-sed \
  328.     all-send-pr \
  329.     all-shellutils \
  330.     all-sim \
  331.     all-tar \
  332.     all-tcl \
  333.     all-texinfo \
  334.     all-textutils \
  335.     all-tgas \
  336.     all-time \
  337.     all-uudecode \
  338.     all-wdiff 
  339.  
  340. # This is a list of the check targets for all of the modules which are
  341. # compiled using $(FLAGS_TO_PASS).
  342. # This is a list of the check targets for all of the modules which are
  343. # compiled using $(FLAGS_TO_PASS).
  344. #
  345. # The list is in two parts.  The first lists those tools which
  346. # are tested as part of the host's native tool-chain, and not
  347. # tested in a cross configuration.
  348. NATIVE_CHECK_MODULES = \
  349.     check-byacc \
  350.     check-flex
  351.  
  352. CROSS_CHECK_MODULES = \
  353.     check-autoconf \
  354.     check-bfd \
  355.     check-binutils \
  356.     check-cvs \
  357.     check-dejagnu \
  358.     check-diff \
  359.     check-etc \
  360.     check-fileutils \
  361.     check-find \
  362.     check-gas \
  363.     check-gawk \
  364.     check-gdb \
  365.     check-gprof \
  366.     check-grep \
  367.     check-gzip \
  368.     check-hello \
  369.     check-indent \
  370.     check-ispell \
  371.     check-ld \
  372.     check-libiberty \
  373.     check-m4 \
  374.     check-make \
  375.     check-mmcheckoc \
  376.     check-opcodes \
  377.     check-pagas \
  378.     check-patch \
  379.     check-prms \
  380.     check-rcs \
  381.     check-readline \
  382.     check-recode \
  383.     check-sed \
  384.     check-send-pr \
  385.     check-shellutils \
  386.     check-sim \
  387.     check-tar \
  388.     check-tcl \
  389.     check-texinfo \
  390.     check-textutils \
  391.     check-tgas \
  392.     check-time \
  393.     check-uudecode \
  394.     check-wdiff
  395.  
  396. CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
  397.  
  398. # This is a list of the install targets for all of the modules which are
  399. # compiled using $(FLAGS_TO_PASS).
  400. INSTALL_MODULES = \
  401.     install-autoconf \
  402.     install-bfd \
  403.     install-binutils \
  404.     install-byacc \
  405.     install-cvs \
  406.     install-dejagnu \
  407.     install-diff \
  408.     install-dosutils \
  409.     install-etc \
  410.     install-fileutils \
  411.     install-find \
  412.     install-flex \
  413.     install-gas \
  414.     install-gawk \
  415.     install-gdb \
  416.     install-glob \
  417.     install-gprof \
  418.     install-grep \
  419.     install-gzip \
  420.     install-hello \
  421.     install-indent \
  422.     install-ispell \
  423.     install-ld \
  424.     install-libiberty \
  425.     install-m4 \
  426.     install-make \
  427.     install-mmalloc \
  428.     install-opcodes \
  429.     install-pagas \
  430.     install-patch \
  431.     install-prms \
  432.     install-rcs \
  433.     install-readline \
  434.     install-recode \
  435.     install-sed \
  436.     install-send-pr \
  437.     install-shellutils \
  438.     install-sim \
  439.     install-tar \
  440.     install-tcl \
  441.     install-textutils \
  442.     install-tgas \
  443.     install-time \
  444.     install-uudecode \
  445.     install-wdiff
  446.  
  447. # This is a list of the targets for all of the modules which are compiled
  448. # using $(X11_FLAGS_TO_PASS).
  449. ALL_X11_MODULES = \
  450.     all-emacs \
  451.     all-emacs19 \
  452.     all-expect \
  453.     all-gash \
  454.     all-tclX \
  455.     all-tk
  456.  
  457. # This is a list of the check targets for all of the modules which are
  458. # compiled using $(X11_FLAGS_TO_PASS).
  459. CHECK_X11_MODULES = \
  460.     check-emacs \
  461.     check-expect \
  462.     check-gash \
  463.     check-tclX \
  464.     check-tk
  465.  
  466. # This is a list of the install targets for all the modules which are
  467. # compiled using $(X11_FLAGS_TO_PASS).
  468. INSTALL_X11_MODULES = \
  469.     install-emacs \
  470.     install-emacs19 \
  471.     install-expect \
  472.     install-gash \
  473.     install-tclX \
  474.     install-tk
  475.  
  476. # This is a list of the targets for all of the modules which are compiled
  477. # using $(TARGET_FLAGS_TO_PASS).
  478. ALL_TARGET_MODULES = \
  479.     all-libio \
  480.     all-libstdc++ \
  481.     all-librx \
  482.     all-libg++ \
  483.     all-newlib \
  484.     all-libgloss \
  485.     all-xiberty
  486.  
  487. # This is a list of the check targets for all of the modules which are
  488. # compiled using $(TARGET_FLAGS_TO_PASS).
  489. CHECK_TARGET_MODULES = \
  490.     check-libio \
  491.     check-libstdc++ \
  492.     check-libg++ \
  493.     check-newlib \
  494.     check-xiberty
  495.  
  496. # This is a list of the install targets for all of the modules which are
  497. # compiled using $(TARGET_FLAGS_TO_PASS).
  498. INSTALL_TARGET_MODULES = \
  499.     install-libio \
  500.     install-libstdc++ \
  501.     install-libg++ \
  502.     install-newlib \
  503.     install-libgloss \
  504.     install-xiberty
  505.  
  506. # This is a shell case of all modules which are compiled using
  507. # $(TARGET_FLAGS_TO_PASS), used in the do-X rule.
  508. TARGET_LIBS = libio | libstdc++ | librx | libg++ | newlib | xiberty
  509.  
  510. # The first rule in the file had better be this one.  Don't put any above it.
  511. all: all.normal
  512. .PHONY: all
  513.  
  514. # The target built for a native build.
  515. .PHONY: all.normal
  516. all.normal: \
  517.     $(ALL_MODULES) \
  518.     $(ALL_TARGET_MODULES) \
  519.     $(ALL_X11_MODULES) \
  520.     all-gcc
  521.  
  522. # Do a target for all the subdirectories.  A ``make do-X'' will do a
  523. # ``make X'' in all subdirectories (because, in general, there is a
  524. # dependency (below) of X upon do-X, a ``make X'' will also do this,
  525. # but it may do additional work as well).
  526. # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
  527. # because it is so large that it can easily overflow the command line
  528. # length limit on some systems.
  529. DO_X = \
  530.     do-clean \
  531.     do-distclean \
  532.     do-dvi \
  533.     do-info \
  534.     do-install-info \
  535.     do-installcheck \
  536.     do-mostlyclean \
  537.     do-realclean \
  538.     do-TAGS
  539. .PHONY: $(DO_X)
  540. $(DO_X):
  541.     @target=`echo $@ | sed -e 's/^do-//'`; \
  542.     r=`pwd`; export r; \
  543.     srcroot=`cd $(srcdir); pwd`; export srcroot; \
  544.     for i in $(SUBDIRS); do \
  545.       if [ -f ./$$i/Makefile ]; then \
  546.         case $$i in \
  547.         $(TARGET_LIBS) ) \
  548.           for flag in $(EXTRA_TARGET_FLAGS); do \
  549.         eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
  550.           done; \
  551.           ;; \
  552.         gcc) \
  553.           for flag in $(EXTRA_GCC_FLAGS); do \
  554.         eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
  555.           done; \
  556.           ;; \
  557.         *) \
  558.           for flag in $(EXTRA_HOST_FLAGS); do \
  559.         eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
  560.           done; \
  561.           ;; \
  562.         esac ; \
  563.         export AR AS CC CXX NM RANLIB; \
  564.         if (cd ./$$i; \
  565.             $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  566.             "CC=$${CC}" "CXX=$${CXX}" "NM=$${NM}" \
  567.             "RANLIB=$${RANLIB}" \
  568.             $${target}); \
  569.         then true; else exit 1; fi; \
  570.       else true; fi; \
  571.     done
  572.  
  573. # Here are the targets which correspond to the do-X targets.
  574.  
  575. .PHONY: info installcheck dvi install-info
  576. .PHONY: clean distclean mostlyclean realclean local-clean local-distclean
  577. info: do-info
  578. installcheck: do-installcheck
  579. dvi: do-dvi
  580.  
  581. install-info: do-install-info dir.info
  582.     srcroot=`cd $(srcdir); pwd`; export srcroot; \
  583.     if [ -f dir.info ] ; then \
  584.       $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
  585.     else true ; fi
  586.  
  587. local-clean:
  588.     -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
  589.  
  590. local-distclean:
  591.     -rm -f Makefile config.status
  592.  
  593. clean: do-clean local-clean
  594. mostlyclean: do-mostlyclean local-clean
  595. distclean: do-distclean local-clean local-distclean
  596. realclean: do-realclean local-clean local-distclean
  597.  
  598. # Check target.
  599.  
  600. .PHONY: check
  601. check: $(CHECK_MODULES) \
  602.     $(CHECK_TARGET_MODULES) \
  603.     $(CHECK_X11_MODULES) \
  604.     check-gcc
  605.  
  606. # Installation targets.
  607.  
  608. .PHONY: install uninstall vault-install
  609. install: $(INSTALL_TARGET) 
  610.  
  611. uninstall:
  612.     @echo "the uninstall target is not supported in this tree"
  613.  
  614. vault-install:
  615.     @if [ -f ./release/vault-install ] ; then \
  616.       ./release/vault-install $(host_alias) $(target_alias) ; \
  617.     else \
  618.       true ; \
  619.     fi
  620.  
  621. .PHONY: install.all
  622. install.all: install-no-fixedincludes
  623.     @if [ -f ./gcc/Makefile ] ; then \
  624.         r=`pwd` ; export r ; \
  625.         (cd ./gcc; \
  626.         $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
  627.     else \
  628.         true ; \
  629.     fi
  630.  
  631. # install-no-fixedincludes is used because Cygnus can not distribute
  632. # the fixed header files.
  633. .PHONY: install-no-fixedincludes
  634. install-no-fixedincludes: \
  635.     install-dirs \
  636.     $(INSTALL_MODULES) \
  637.     $(INSTALL_TARGET_MODULES) \
  638.     $(INSTALL_X11_MODULES) \
  639.     gcc-no-fixedincludes 
  640.  
  641. # Install the gcc headers files, but not the fixed include files,
  642. # which Cygnus is not allowed to distribute.  This rule is very
  643. # dependent on the workings of the gcc Makefile.in.
  644. .PHONY: gcc-no-fixedincludes
  645. gcc-no-fixedincludes:
  646.     @if [ -f ./gcc/Makefile ]; then \
  647.       rm -rf gcc/tmp-include; \
  648.       mv gcc/include gcc/tmp-include 2>/dev/null; \
  649.       mkdir gcc/include; \
  650.       cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
  651.       touch gcc/stmp-fixinc gcc/include/fixed; \
  652.       rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
  653.       r=`pwd`; export r; \
  654.       srcroot=`cd $(srcdir); pwd` ; export srcroot; \
  655.       (cd ./gcc; \
  656.        $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
  657.       rm -rf gcc/include; \
  658.       mv gcc/tmp-include gcc/include 2>/dev/null; \
  659.     else true; fi
  660.  
  661. # This rule is used to build the modules which use FLAGS_TO_PASS.  To
  662. # build a target all-X means to cd to X and make all.
  663. # all-glob is handled specially because it doesn't actually build.
  664. #
  665. # all-gui, and all-libproc are handled specially because
  666. # they are still experimental, and if they fail to build, that
  667. # shouldn't stop "make all".
  668. .PHONY: $(ALL_MODULES) all-glob all-gui all-libproc
  669. $(ALL_MODULES) all-glob all-gui all-libproc:
  670.     @dir=`echo $@ | sed -e 's/all-//'`; \
  671.     if [ -f ./$${dir}/Makefile ] ; then \
  672.       r=`pwd`; export r; \
  673.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  674.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
  675.     else \
  676.       true; \
  677.     fi
  678.  
  679. # These rules are used to check the modules which use FLAGS_TO_PASS.
  680. # To build a target check-X means to cd to X and make check.  Some
  681. # modules are only tested in a native toolchain.
  682.  
  683. .PHONY: $(CHECK_MODULES) $(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
  684. $(NATIVE_CHECK_MODULES):
  685.     @if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  686.       dir=`echo $@ | sed -e 's/check-//'`; \
  687.       if [ -f ./$${dir}/Makefile ] ; then \
  688.         r=`pwd`; export r; \
  689.         srcroot=`cd $(srcdir); pwd`; export srcroot; \
  690.         (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
  691.       else \
  692.         true; \
  693.       fi; \
  694.     fi
  695.  
  696. $(CROSS_CHECK_MODULES):
  697.     @dir=`echo $@ | sed -e 's/check-//'`; \
  698.     if [ -f ./$${dir}/Makefile ] ; then \
  699.       r=`pwd`; export r; \
  700.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  701.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
  702.     else \
  703.       true; \
  704.     fi
  705.  
  706. # This rule is used to install the modules which use FLAGS_TO_PASS.
  707. # To build a target install-X means to cd to X and make install.
  708. .PHONY: $(INSTALL_MODULES)
  709. $(INSTALL_MODULES): install-dirs
  710.     @dir=`echo $@ | sed -e 's/install-//'`; \
  711.     if [ -f ./$${dir}/Makefile ] ; then \
  712.       r=`pwd`; export r; \
  713.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  714.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
  715.     else \
  716.       true; \
  717.     fi
  718.  
  719. # This rule is used to build the modules which use TARGET_FLAGS_TO_PASS.
  720. # To build a target all-X means to cd to X and make all.
  721. .PHONY: $(ALL_TARGET_MODULES)
  722. $(ALL_TARGET_MODULES):
  723.     @dir=`echo $@ | sed -e 's/all-//'`; \
  724.     if [ -f ./$${dir}/Makefile ] ; then \
  725.       r=`pwd`; export r; \
  726.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  727.       (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
  728.     else \
  729.       true; \
  730.     fi
  731.  
  732. # This rule is used to check the modules which use TARGET_FLAGS_TO_PASS.
  733. # To build a target install-X means to cd to X and make install.
  734. .PHONY: $(CHECK_TARGET_MODULES)
  735. $(CHECK_TARGET_MODULES):
  736.     @dir=`echo $@ | sed -e 's/check-//'`; \
  737.     if [ -f ./$${dir}/Makefile ] ; then \
  738.       r=`pwd`; export r; \
  739.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  740.       (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) check); \
  741.     else \
  742.       true; \
  743.     fi
  744.  
  745. # This rule is used to install the modules which use
  746. # TARGET_FLAGS_TO_PASS.  To build a target install-X means to cd to X
  747. # and make install.
  748. .PHONY: $(INSTALL_TARGET_MODULES)
  749. $(INSTALL_TARGET_MODULES): install-dirs
  750.     @dir=`echo $@ | sed -e 's/install-//'`; \
  751.     if [ -f ./$${dir}/Makefile ] ; then \
  752.       r=`pwd`; export r; \
  753.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  754.       (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) install); \
  755.     else \
  756.       true; \
  757.     fi
  758.  
  759. # This rule is used to build the modules which use X11_FLAGS_TO_PASS.
  760. # To build a target all-X means to cd to X and make all.
  761. .PHONY: $(ALL_X11_MODULES)
  762. $(ALL_X11_MODULES):
  763.     @dir=`echo $@ | sed -e 's/all-//'`; \
  764.     if [ -f ./$${dir}/Makefile ] ; then \
  765.       r=`pwd`; export r; \
  766.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  767.       (cd $${dir}; \
  768.        $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \
  769.     else \
  770.       true; \
  771.     fi
  772.  
  773. # This rule is used to check the modules which use X11_FLAGS_TO_PASS.
  774. # To build a target check-X means to cd to X and make all.
  775. .PHONY: $(CHECK_X11_MODULES)
  776. $(CHECK_X11_MODULES):
  777.     @dir=`echo $@ | sed -e 's/check-//'`; \
  778.     if [ -f ./$${dir}/Makefile ] ; then \
  779.       r=`pwd`; export r; \
  780.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  781.       (cd $${dir}; \
  782.        $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \
  783.     else \
  784.       true; \
  785.     fi
  786.  
  787. # This rule is used to install the modules which use X11_FLAGS_TO_PASS.
  788. # To build a target install-X means to cd to X and make install.
  789. .PHONY: $(INSTALL_X11_MODULES)
  790. $(INSTALL_X11_MODULES):
  791.     @dir=`echo $@ | sed -e 's/install-//'`; \
  792.     if [ -f ./$${dir}/Makefile ] ; then \
  793.       r=`pwd`; export r; \
  794.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  795.       (cd $${dir}; \
  796.        $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \
  797.     else \
  798.       true; \
  799.     fi
  800.  
  801. # gcc is the only module which uses GCC_FLAGS_TO_PASS.
  802. .PHONY: all-gcc
  803. all-gcc:
  804.     @if [ -f ./gcc/Makefile ] ; then \
  805.       r=`pwd`; export r; \
  806.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  807.       (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
  808.     else \
  809.       true; \
  810.     fi
  811.  
  812. .PHONY: check-gcc
  813. check-gcc:
  814.     @if [ -f ./gcc/Makefile ] ; then \
  815.       r=`pwd`; export r; \
  816.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  817.       (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
  818.     else \
  819.       true; \
  820.     fi
  821.  
  822. .PHONY: install-gcc
  823. install-gcc:
  824.     @if [ -f ./gcc/Makefile ] ; then \
  825.       r=`pwd`; export r; \
  826.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  827.       (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
  828.     else \
  829.       true; \
  830.     fi
  831.  
  832.  
  833. # EXPERIMENTAL STUFF
  834. # This rule is used to install the modules which use FLAGS_TO_PASS.
  835. # To build a target install-X means to cd to X and make install.
  836. .PHONY: install-dosrel
  837. install-dosrel: install-dirs info
  838.     @dir=`echo $@ | sed -e 's/install-//'`; \
  839.     if [ -f ./$${dir}/Makefile ] ; then \
  840.       r=`pwd`; export r; \
  841.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  842.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
  843.     else \
  844.       true; \
  845.     fi
  846.  
  847. install-dosrel-fake:
  848.  
  849.  
  850. # This is a list of inter-dependencies among modules.
  851. all-autoconf: all-m4
  852. all-bfd:
  853. all-binutils: all-libiberty all-opcodes all-bfd all-flex all-byacc
  854. all-byacc:
  855. all-cvs:
  856. all-dejagnu: all-tcl all-expect all-tk
  857. all-diff: all-libiberty
  858. all-emacs:
  859. all-emacs19: all-byacc
  860. all-etc:
  861. all-expect: all-tcl all-tk
  862. all-fileutils: all-libiberty
  863. all-find:
  864. all-flex: all-libiberty all-byacc
  865. all-gas: all-libiberty all-opcodes all-bfd
  866. all-gash: all-tcl
  867. all-gawk:
  868. all-gcc: all-libiberty all-byacc all-binutils all-gas all-pagas
  869. all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-glob all-byacc all-sim all-gcc all-ld
  870. all-glob:
  871. all-gprof: all-libiberty all-bfd
  872. all-grep: all-libiberty
  873. all-gui: all-gdb all-libproc all-librx
  874. all-gzip: all-libiberty
  875. all-hello: all-libiberty
  876. all-indent:
  877. all-ispell: all-emacs # all-emacs19 ??? is this needed?
  878. all-ld: all-libiberty all-bfd all-byacc all-flex
  879. all-libg++: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib \
  880.     all-libio all-librx
  881. all-libio: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib 
  882. all-libiberty:
  883. all-libstdc++: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib \
  884.     all-libio
  885. all-m4: all-libiberty
  886. all-make: all-libiberty
  887. all-mmalloc:
  888. all-newlib: all-binutils all-gas all-pagas all-gcc
  889. all-opcodes: all-bfd
  890. all-patch:
  891. all-prms: all-libiberty
  892. all-rcs:
  893. all-readline:
  894. all-recode: all-libiberty
  895. all-sed: all-libiberty
  896. all-send-pr: all-prms
  897. all-shellutils:
  898. all-sim: all-libiberty all-bfd
  899. all-tar: all-libiberty
  900. all-tcl:
  901. all-tclX: all-tcl all-tk
  902. all-tk: all-tcl
  903. all-texinfo: all-libiberty
  904. all-textutils:
  905. all-tgas: all-libiberty all-bfd
  906. all-time:
  907. all-wdiff:
  908. all-uudecode: all-libiberty
  909. all-xiberty: all-gcc all-ld all-newlib
  910.  
  911. ### other supporting targets
  912.  
  913. MAKEDIRS= \
  914.     $(prefix) \
  915.     $(exec_prefix) \
  916.     $(tooldir)
  917.  
  918. .PHONY: install-dirs
  919. install-dirs:
  920.     @for i in $(MAKEDIRS) ; do \
  921.         echo Making $$i... ; \
  922.         parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$$@/@'`; \
  923.         if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
  924.         if [ ! -d $$i ] ; then \
  925.             if mkdir $$i ; then \
  926.                 true ; \
  927.             else \
  928.                 exit 1 ; \
  929.             fi ; \
  930.         else \
  931.             true ; \
  932.         fi ; \
  933.     done
  934.  
  935.  
  936. dir.info: do-install-info
  937.     if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
  938.       $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
  939.       mv -f dir.info.new dir.info ; \
  940.     else true ; \
  941.     fi
  942.  
  943. dist:
  944.     @echo "Building a full distribution of this tree isn't done"
  945.     @echo "via 'make dist'.  Check out the etc/ subdirectory" 
  946.  
  947. etags tags: TAGS
  948.  
  949. # Right now this just builds TAGS in each subdirectory.  emacs19 has the
  950. # ability to use several tags files at once, so there is probably no need
  951. # to combine them into one big TAGS file (like CVS 1.3 does).  We could
  952. # (if we felt like it) have this Makefile write a piece of elisp which
  953. # the user could load to tell emacs19 where all the TAGS files we just
  954. # built are.
  955. TAGS: do-TAGS
  956.  
  957. # with the gnu make, this is done automatically.
  958.  
  959. Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
  960.     $(SHELL) ./config.status
  961.  
  962. #
  963. # Support for building net releases
  964.  
  965. # Files in devo used in any net release.
  966. # ChangeLog omitted because it may refer to files which are not in this
  967. # distribution (perhaps it would be better to include it anyway).
  968. DEVO_SUPPORT= README Makefile.in configure configure.in \
  969.     config.guess config.sub config move-if-change \
  970.     COPYING COPYING.LIB install.sh
  971.  
  972. # Files in devo/etc used in any net release.
  973. # ChangeLog omitted because it may refer to files which are not in this
  974. # distribution (perhaps it would be better to include it anyway).
  975. ETC_SUPPORT= Makefile.in cfg-paper.texi configure.in configure.man \
  976.     configure.texi standards.texi make-stds.texi
  977.  
  978. # When you use `make setup-dirs' or `make taz' you should always redefine
  979. # this macro.
  980. SUPPORT_FILES = list-of-support-files-for-tool-in-question
  981. # Directories that might want `make diststuff' run.
  982. DISTSTUFFDIRS= ld gprof gdb libg++ binutils gnats gas
  983. # Files where "byacc" (Cygnus version) should be changed to "bison -y" (FSF).
  984. DISTBISONFILES= binutils/Makefile.in gas/Makefile.in gdb/Makefile.in
  985. # Directories where "info" should be built.
  986. DISTDOCDIRS= ld gprof binutils gas bfd libg++ libio gdb gnats send-pr
  987.  
  988. .PHONY: taz
  989.  
  990. taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) \
  991.   texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
  992.     # Make sure "diststuff" files get built properly.
  993.     for f in $(DISTBISONFILES) ; do \
  994.       if [ -r $$f ]; then \
  995.         sed '/^BISON *=.*$$/s/.*/BISON = bison -y/' <$$f >tmp ; \
  996.         mv -f tmp $$f ; \
  997.       else true; fi ; \
  998.     done
  999.     # Take out texinfo from a few places; make simple BISON=bison line.
  1000.     sed -e '/^all\.normal: /s/\all-texinfo //' \
  1001.         -e '/^    install-texinfo /d' \
  1002.         -e '/^BISON = /,/^$$/d' \
  1003.         -e '/^# BISON:/s/.*/BISON = bison -y/' \
  1004.     <Makefile.in >tmp
  1005.     mv -f tmp Makefile.in
  1006.     #
  1007.     ./configure sun4
  1008.     # Doc files don't change; include them in distribution.
  1009.     for f in $(DISTDOCDIRS) ; do \
  1010.       if [ -r $$f/Makefile ]; then \
  1011.         (cd $$f ; $(MAKE) info) || exit 1 ; \
  1012.       else true ; fi ; \
  1013.     done
  1014.     # Make links, and run "make diststuff" when needed.
  1015.     # The `echo' for setting `p' is to convert all whitespace to spaces.
  1016.     # Then the `case' further below should tell whether $$d is in
  1017.     # DISTSTUFFDIRS.
  1018.     rm -rf proto-toplev ; mkdir proto-toplev
  1019.     set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \
  1020.     p=" `echo $(DISTSTUFFDIRS)` " ; \
  1021.     for d in $$dirs ; do \
  1022.       if [ -d $$d ]; then \
  1023.         case " $$p " in \
  1024.         *" $$d "*)    \
  1025.         echo making diststuff in $$d ; \
  1026.         (cd $$d ; pwd ; $(MAKE) diststuff ) || exit 1  ;; \
  1027.         esac ; \
  1028.         if [ -d $$d/proto-$$d.dir ]; then \
  1029.           ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \
  1030.         else \
  1031.           ln -s ../$$d proto-toplev/$$d ; \
  1032.         fi ; \
  1033.       else ln -s ../$$d proto-toplev/$$d ; fi ; \
  1034.     done
  1035.     $(MAKE) distclean
  1036.     #
  1037.     mkdir proto-toplev/etc
  1038.     (cd proto-toplev/etc; for i in $(ETC_SUPPORT); do \
  1039.         ln -s ../../etc/$$i . ; \
  1040.     done)
  1041.     #
  1042.     # Take out texinfo and glob from configurable dirs
  1043.     rm proto-toplev/configure.in
  1044.     sed -e '/^host_tools=/s/texinfo //' \
  1045.         -e '/^host_libs=/s/glob //' \
  1046.         <configure.in >proto-toplev/configure.in
  1047.     #
  1048.     mkdir proto-toplev/texinfo
  1049.     ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
  1050.     ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
  1051.     ln -s ../../texinfo/lgpl.texinfo proto-toplev/texinfo/
  1052.     ln -s ../../texinfo/tex3patch   proto-toplev/texinfo/
  1053.     chmod og=u `find . -print`
  1054.     (VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
  1055.         echo "==> Making $(TOOL)-$$VER.tar.gz"; \
  1056.         rm -f $(TOOL)-$$VER; ln -s proto-toplev $(TOOL)-$$VER; \
  1057.         tar cfh - $(TOOL)-$$VER \
  1058.         | $(GZIPPROG) -v -9 >$(TOOL)-$$VER.tar.gz )
  1059.  
  1060. TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo texinfo/lgpl.texinfo
  1061. DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)
  1062.  
  1063. .PHONY: gas.tar.gz
  1064. GAS_SUPPORT_DIRS= bfd include libiberty opcodes
  1065. gas.tar.gz: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas
  1066.     $(MAKE) -f Makefile.in taz TOOL=gas \
  1067.         SUPPORT_FILES="$(GAS_SUPPORT_DIRS)"
  1068.  
  1069. # The FSF "binutils" release includes gprof and ld.
  1070. .PHONY: binutils.tar.gz
  1071. BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof
  1072. binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
  1073.     $(MAKE) -f Makefile.in taz TOOL=binutils \
  1074.         SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)"
  1075.  
  1076. .PHONY: gas+binutils.tar.gz
  1077. GASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof
  1078. gas+binutils.tar.gz: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas
  1079.     $(MAKE) -f Makefile.in taz TOOL=gas \
  1080.         SUPPORT_FILES="$(GASB_SUPPORT_DIRS)"
  1081.  
  1082. .PHONY: libg++.tar.gz
  1083. LIBGXX_SUPPORT_DIRS=include libio librx libiberty xiberty
  1084. libg++.tar.gz: $(DIST_SUPPORT) libg++
  1085.     $(MAKE) -f Makefile.in taz TOOL=libg++ \
  1086.         SUPPORT_FILES="$(LIBGXX_SUPPORT_DIRS)"
  1087.  
  1088. GNATS_SUPPORT_DIRS=include libiberty send-pr
  1089. gnats.tar.gz: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats
  1090.     $(MAKE) -f  Makefile.in taz TOOL=gnats \
  1091.         SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)"
  1092.  
  1093. .PHONY: gdb.tar.gz
  1094. GDB_SUPPORT_DIRS= bfd glob include libiberty mmalloc opcodes readline sim
  1095. gdb.tar.gz: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
  1096.     $(MAKE) -f Makefile.in taz TOOL=gdb \
  1097.         SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
  1098.  
  1099. .PHONY: newlib.tar.gz
  1100. NEWLIB_SUPPORT_DIRS=
  1101. newlib.tar.gz: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib
  1102.     $(MAKE) -f Makefile.in taz TOOL=newlib \
  1103.         SUPPORT_FILES="$(NEWLIB_SUPPORT_DIRS)" \
  1104.         DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" \
  1105.         DISTDOCDIRS="$(DISTDOCDIRS) newlib"
  1106.  
  1107. .NOEXPORT:
  1108. MAKEOVERRIDES=
  1109.  
  1110.  
  1111. # end of Makefile.in
  1112.